package com.mall.client.user;

import com.mall.pojo.InviteCode;

public interface InviteCodeService {
	
	
	public InviteCode getInviteCodeByPhone(String phone);

	public int deleteInviteCodeByPhone(String phone, InviteCode inviteCode);

	public void updateInviteCodeByPhone(String phone);

	public void insertInviteCode(InviteCode inviteCode);
	
	public InviteCode getInviteCodeBySessionIdAndType1(String phone);
	
	public void  modifyByPic4InviteCode(InviteCode inviteCode);

	public InviteCode getInviteCodeByValid(String valid);

	public void updateInviteCodeByInviteCode(InviteCode inviteCode);

}
